package cn.edu.ujn.bmis.model;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;



/**
 * 
 * 用户基本信息类
 * 
 */

@Entity
@Table(name = "userInfo")
public class UserInfo {

	private String authority; // 用户权限
	private String email; // 用户邮箱
	private String papersNum; // 证件号码
	private String telephone; // 联系方式
	private String userId; // 用户编号
	private String userName; // 用户姓名
	private String userPassword; // 用户密码
	private String userStatus; // 用户身份

	public UserInfo() {

	}

	public String getAuthority() {
		return authority;
	}

	public String getEmail() {
		return email;
	}

	public String getPapersNum() {
		return papersNum;
	}

	public String getTelephone() {
		return telephone;
	}

	@Id
	public String getUserId() {
		return userId;
	}

	public String getUserName() {
		return userName;
	}

	public String getUserPassword() {
		return userPassword;
	}

	public String getUserStatus() {
		return userStatus;
	}

	public void setAuthority(String authority) {
		this.authority = authority;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPapersNum(String papersNum) {
		this.papersNum = papersNum;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}
}
